
import { RouteRecordRaw } from "vue-router";

export const ShopRoutes: Array<RouteRecordRaw> = [
    {
        path: "/shop",
        name: "shop",
        component: () => import('./index.vue'),
        redirect: '/shop/home',
        children: [
            {
                path: "/shop/home",
                name: "home",
                component: () => import('./Home.vue')
            },
            {
                path: "/shop/find",
                name: "find",
                component: () => import('./Find.vue')
            },
            {
                path: "/shop/cart",
                name: "cart",
                component: () => import('./Cart.vue')
            },
            {
                path: "/shop/mine",
                name: "mine",
                component: () => import('./Mine.vue')
            },
        ]
    },

]